import { useContext } from 'react';
import { PurchaseApplyStatisticsContext } from '../common';

//引入echarts主模块
import * as echarts from 'echarts';
// 引入柱状图
import 'echarts/lib/chart/bar';
// 引入饼状图
import 'echarts/lib/chart/pie';
// 引入标题和提示框
import 'echarts/lib/component/tooltip';
import 'echarts/lib/component/title';

const StatisticsManageViewCenter = () => {
  /**
   * 解构上下文
   * */
  const { styleFixCls, changeStepType } = useContext(PurchaseApplyStatisticsContext);

  return (
    <div className={styleFixCls + 'CenterBox'}>
      {/* echarts图表 */}
      <div className={styleFixCls + 'CenterBox-EchartsRootDiv'}></div>
    </div>
  );
};

export { StatisticsManageViewCenter };
